package main

import "fmt"

func main() {
	//局部变量
	//默认值
	var v1 int
	fmt.Println(v1)
	var v2 bool
	fmt.Println(v2)
	var v3 float64
	fmt.Println(v3)

	//强制显示转换(不能自动转换)
	var v4 int = 100
	var v5 = float32(v4)
	fmt.Println(v5)
	fmt.Printf("%T", v4)
	fmt.Println()
	fmt.Printf("%T", v5)
	fmt.Println()

	var n6 int32 = 12
	var n7 int64 = int64(n6) + 24
	fmt.Println(n7)

}
